<%--
  Created by IntelliJ IDEA.
  User: 光的代言人
  Date: 2024/12/20
  Time: 10:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>

    <title>修改商品信息</title>
    <link rel="stylesheet" href="../../css/goodsInfo/add.css">
</head>
<body>
<div class="all">
    <h1>修改商品信息</h1>
    <form action="/houtai/goodsInfo/update" method="post" enctype="multipart/form-data">
        <table>
            <tr>
                <td style="width:100px;">商品名称:</td>
                <td style="width:200px;">
                    <input type="text" name="goods_name" value="${goodsSingleInfo.goods_name}">
                </td>
            </tr>
            <tr>
                <td style="width:100px;">生产厂家:</td>
                <td style="width:200px;">
                    <input type="text" name="manufacturer" value="${goodsSingleInfo.manufacturer}">
                </td>

            </tr>
            <tr>
                <td style="width:100px;">销售价格:</td>
                <td style="width:200px;">
                    <input type="text" name="price" value="${goodsSingleInfo.price}">
                </td>
            </tr>
            <tr>

                <td style="width:100px;">商品照片:</td>
                <td style="width:200px;">
                    <input type="file" name="pic" value="${goodsSingleInfo.pic}">
                </td>
            </tr>
            <%--            <tr>--%>

            <%--                <td style="width:100px;">商品类型:</td>--%>
            <%--                <td style="width:200px;">--%>
            <%--                    <select name="type" >--%>
            <%--                        <option value="服装">服装</option>--%>
            <%--                        <option value="鞋靴">鞋靴</option>--%>
            <%--                        <option value="水果">水果</option>--%>
            <%--                        <option value="电子">电子</option>--%>
            <%--                        <option value="医药">医药</option>--%>
            <%--                    </select>--%>
            <%--                </td>--%>
            <%--            </tr>--%>
            <tr>
                <td style="width:100px;">产品介绍:</td>
                <td style="width:300px;">
                    <textarea name="description">${goodsSingleInfo.description}</textarea>
                </td>
            </tr>
            <tr>
                <td class="no">
                    <input type="submit" value="修改" class="bt">
                </td>
            </tr>
            <input type="hidden" name="id" value="${goodsSingleInfo.goods_id}">
        </table>
    </form>
</div>
</body>
</html>
